package com.ctshk.rpc.hotel.dto.h5;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description 酒店产品
 * @author 谢诗宏
 * @date 2021/4/20
 */
@Data
@ApiModel(description="酒店产品")
public class HotelProductDTO implements Serializable {

    private static final long serialVersionUID = 6248504113571396671L;

    @ApiModelProperty(value = "产品id")
    private Long id;

    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @ApiModelProperty(value = "床型", example = "120*200cm大床")
    private String bedType;

    @ApiModelProperty(value = "产品名称", example = "溫泉A套餐")
    private String name;

    @ApiModelProperty(value = "是否含早(1=无早餐,2=单早,3=双早)", example = "1")
    private Integer hasBreakfast;

    @ApiModelProperty(value = "可住人数", example = "可住2人")
    private String maxAdult;

    @ApiModelProperty(value = "适用人群", example = "本港人士")
    private String targetPopulation;

    @ApiModelProperty(value = "确认(1=立即确认,2=二次确认)", example = "1")
    private Integer isSecCheck;

    @ApiModelProperty(value = "取消(1=限时取消,2=不退不改)", example = "1")
    private Integer allowRefund;

    @ApiModelProperty(value = "剩余房间数", example = "10")
    private Integer roomNum;

    @ApiModelProperty(value = "房价(HKD)", example = "999")
    private BigDecimal price;

    @ApiModelProperty(value = "税费(HKD)", example = "20")
    private BigDecimal taxation;

    @ApiModelProperty(value = "预订须知")
    private String customerNotice;

    @JsonIgnore
    @ApiModelProperty(value = "酒店产品下单时的成本币种id", hidden = true)
    private Long costCurrencyId;

    @JsonIgnore
    @ApiModelProperty(value = "酒店产品下单时的成本币种名称", hidden = true)
    private String costCurrencyName;

    @JsonIgnore
    @ApiModelProperty(value = "酒店产品下单时的成本币种汇率", hidden = true)
    private Double costExchangeRate;

}
